package com.zzedu.params;

import com.alibaba.fastjson2.annotation.JSONField;
import com.zzedu.enmuns.FileRelationTypeEnum;
import jakarta.validation.constraints.NotNull;
import org.springframework.web.multipart.MultipartFile;

public class UploadWordFileParams {

    /**
     * 文件
     */
    @JSONField(serialize = false)
    private MultipartFile file;

    /**
     * 扩展key
     */
    private String extendKey;

    /**
     * 序号
     */
    private Integer sortNum;

    /**
     * 单词属性ID
     */
    private Long id;


    /**
     * 访问url
     */
    private String url;

    public MultipartFile getFile() {
        return file;
    }

    public void setFile(MultipartFile file) {
        this.file = file;
    }

    public String getExtendKey() {
        return extendKey;
    }

    public void setExtendKey(String extendKey) {
        this.extendKey = extendKey;
    }

    public Integer getSortNum() {
        return sortNum;
    }

    public void setSortNum(Integer sortNum) {
        this.sortNum = sortNum;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
